package com.headwind.logistics.common.util;

import java.util.HashMap;
import java.util.List;

/**
 * layui表格返回格式工具类
 * @author 小恶魔
 * @date 2020-7-12
 */
public class LayuiUtil extends HashMap<String,Object> {

    public static LayuiUtil data(Integer count, List data){
        LayuiUtil r = new LayuiUtil();
        r.put("code", 0);
        r.put("msg", "");
        r.put("count", count);
        r.put("data", data);
        return r;
    }

}
